﻿using Microsoft.VisualStudio.Debugger.Interop;

namespace Red.Scripts.Debugger.Defines
{
    /// <summary>
    /// Returns result of bind operation
    /// </summary>
    /// <param name="breakpoint">Contains a <see cref="IDebugBoundBreakpoint2"/> on success, <see cref="IDebugErrorBreakpoint2"/> if there was a problem</param>
    public delegate void BreakpointBindCallback( object breakpoint );

    public interface IProgram
    {
        void BindBreakpoint( IDebugPendingBreakpoint2 pending, bool enabled, BreakpointBindCallback callback );
    }
}
